/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing_class;

import stendcontrol.Configurator;

/**
 *
 * @author minaev
 */
public class Configurator_Test {
    
    public static void main(String[] args) {
        Configurator cfg = Configurator.getConf();
        System.out.println(((Integer)cfg.getProperty(Configurator.UDP_IN_PORT)).intValue());
        cfg.setProperty(Configurator.UDP_IN_PORT, "51514");
        cfg.saveConfig();
        
        System.out.println(cfg.getProperty(Configurator.DB_SERVER));
        
    }
}
